package com.example.stock.service;

import com.example.stock.model.GBSta;

import java.util.List;
import java.util.Map;

public interface GBStaService {

    List<GBSta> getGBStaList(String type);

    List<GBSta> getLastGBStaList(String type, int n);

    List<GBSta> getGB60WStaByDate(String date);

    List<GBSta> getGBStaByDate(String date, String type);

    List<GBSta> getGBStaUpByDate(String date, String type);

    List<GBSta> getGBStaByStock(String stock, String type);

    Map<String, List<GBSta>> getGBUpStaMapByDate(String type);

    Map<String, List<GBSta>> getGBDownStaMapByDate(String type);

    /**
     * 返回间隔大于数值的数据
     */
    List<GBSta> getDurGtList(String type, int num);
}